<template>
  <div class="line">
    <span>{{ label }}</span>
    <span><slot name="value"></slot></span>
  </div>
</template>

<script>
export default {
  props: ["label", "value"],
};
</script>

<style lang="less" scoped>
.line {
  background: white;
  padding: 4.167vw;
  display: flex;
  justify-content: space-between;
  font-size: 3.333vw;
  border-bottom: 0.278vw solid rgb(244, 244, 244);
  color: #666;
  align-items: center;
}
</style>